<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>


    <style>
        tbody{
            overflow: scroll;
            display: block;
            height: 300px;
        }

        tr{
            display: block;
        }

        th,td{
            width: 100px;
        }
    </style>

</head>
<body>

<table border="1">
    <thead>
        <tr><th>姓名</th><th>年龄</th><th>性别</th></tr>
    </thead>
    <tbody>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
        <tr><td>小明</td><td>12</td><td>男</td></tr>
    </tbody>
</table>

</body>
</html>